<template>
  <div class="py-6">
    <span class="pr-10">
      <span class="fw-7">处方号：</span>
      <span v-if="info.parescriptOrder && info.parescriptOrder.serviceDetail">{{
        info.parescriptOrder.serviceDetail[serviceDetailIndex]
          .prescriptOrderNo
      }}</span>
    </span>
    <span class="pl-50">
      <span class="fw-7">开方时间：</span>
      {{
        info.parescriptOrder
          ? info.parescriptOrder.applyDate
          : info.createTime
      }}
    </span>
  </div>
</template>

<script>
export default {
  props: {
    info: {
      type: Object,
      default: () => { }
    },
    serviceDetailIndex: {
      type: Number,
      default: 0
    },
  },
  data () {
    return {}
  }
}
</script>

<style lang="scss" scoped>

</style>
